// license-header java merge-point
/**
 * This is only generated once! It will never be overwritten.
 * You can (and have to!) safely modify it by hand.
 */
package com.logistics.entity.order;
/**
 * @see com.logistics.entity.order.WlOpinion
 */
public class WlOpinionDaoImpl
    extends com.logistics.entity.order.WlOpinionDaoBase
{
    /**
     * @see com.logistics.entity.order.WlOpinionDao#toWlOpinionVO(com.logistics.entity.order.WlOpinion, com.logistics.entity.order.WlOpinionVO)
     */
    public void toWlOpinionVO(
        com.logistics.entity.order.WlOpinion source,
        com.logistics.entity.order.WlOpinionVO target)
    {
        // @todo verify behavior of toWlOpinionVO
        super.toWlOpinionVO(source, target);
        // WARNING! No conversion for target.time (can't convert source.getTime():java.util.Date to java.util.Date
        // WARNING! No conversion for target.bookTime (can't convert source.getBookTime():java.util.Date to java.util.Date
        // WARNING! No conversion for target.people (can't convert source.getPeople():com.logistics.entity.orga.People to java.lang.String
        // WARNING! No conversion for target.booker (can't convert source.getBooker():com.logistics.entity.orga.People to java.lang.String
    }


    /**
     * @see com.logistics.entity.order.WlOpinionDao#toWlOpinionVO(com.logistics.entity.order.WlOpinion)
     */
    public com.logistics.entity.order.WlOpinionVO toWlOpinionVO(final com.logistics.entity.order.WlOpinion entity)
    {
        // @todo verify behavior of toWlOpinionVO
        return super.toWlOpinionVO(entity);
    }


    /**
     * Retrieves the entity object that is associated with the specified value object
     * from the object store. If no such entity object exists in the object store,
     * a new, blank entity is created
     */
    private com.logistics.entity.order.WlOpinion loadWlOpinionFromWlOpinionVO(com.logistics.entity.order.WlOpinionVO wlOpinionVO)
    {
        // @todo implement loadWlOpinionFromWlOpinionVO
        throw new java.lang.UnsupportedOperationException("com.logistics.entity.order.loadWlOpinionFromWlOpinionVO(com.logistics.entity.order.WlOpinionVO) not yet implemented.");

        /* A typical implementation looks like this:
        com.logistics.entity.order.WlOpinion wlOpinion = this.load(wlOpinionVO.getId());
        if (wlOpinion == null)
        {
            wlOpinion = com.logistics.entity.order.WlOpinion.Factory.newInstance();
        }
        return wlOpinion;
        */
    }

    
    /**
     * @see com.logistics.entity.order.WlOpinionDao#wlOpinionVOToEntity(com.logistics.entity.order.WlOpinionVO)
     */
    public com.logistics.entity.order.WlOpinion wlOpinionVOToEntity(com.logistics.entity.order.WlOpinionVO wlOpinionVO)
    {
        // @todo verify behavior of wlOpinionVOToEntity
        com.logistics.entity.order.WlOpinion entity = this.loadWlOpinionFromWlOpinionVO(wlOpinionVO);
        this.wlOpinionVOToEntity(wlOpinionVO, entity, true);
        return entity;
    }


    /**
     * @see com.logistics.entity.order.WlOpinionDao#wlOpinionVOToEntity(com.logistics.entity.order.WlOpinionVO, com.logistics.entity.order.WlOpinion)
     */
    public void wlOpinionVOToEntity(
        com.logistics.entity.order.WlOpinionVO source,
        com.logistics.entity.order.WlOpinion target,
        boolean copyIfNull)
    {
        // @todo verify behavior of wlOpinionVOToEntity
        super.wlOpinionVOToEntity(source, target, copyIfNull);
        // No conversion for target.time (can't convert source.getTime():java.util.Date to java.util.Date
        // No conversion for target.bookTime (can't convert source.getBookTime():java.util.Date to java.util.Date
    }

}